package com.yiip.gmall.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @param
 * @return
 */
@Data
@TableName("pms_base_catalog1")
public class PmsBaseCatalog1 implements Serializable {

    @TableId(type = IdType.AUTO)
    private String id;
    private String name;

    @TableField(exist = false)
    private List<PmsBaseCatalog2> catalog2s;

}

